package com.example.archive.service;

import com.example.archive.entity.Category;
import com.example.archive.util.Result;
import java.util.List;

public interface CategoryService {
    Result<Boolean> addCategory(Category category);
    Result<Boolean> updateCategory(Category category);
    Result<Boolean> deleteCategory(Integer categoryId);
    Result<List<Category>> listCategories(String search);
} 